home *** CD-ROM | disk | FTP | other *** search
/ Games of Daze / Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso / x2ftp / msdos / libs / mikdll / mdllload.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-03-25  |  512 b   |  29 lines

  1. /*
  2.     MikDLL - Done by MikMak / HaRDCoDE '95
  3. */
  4. #ifndef MDLLLOAD_H
  5. #define MDLLLOAD_H
  6.  
  7.  
  8. typedef struct{
  9.     char tag[8];            // MDLLTAG0
  10.     void (huge *func)();
  11. } TAG;
  12.  
  13.  
  14. typedef struct{
  15.     unsigned long modulesize;
  16.     void *memblk;
  17.     void *module;
  18.     void (*entryp)( void *(*MDLL_Import)() , void (*MDLL_Export)() );
  19. } MDLL;
  20.  
  21.  
  22. void huge MDLL_Export(char *name,void *obj);
  23. void * huge MDLL_Import(char *name);
  24. void  MDLL_Unbind(MDLL *);
  25. int   MDLL_Bind(MDLL *,char *);
  26. char *MDLL_Error(void);
  27.  
  28. #endif
  29.